    <include file="App/Admin/View/Public/left.html"/>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">会员管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                
				
            </div>
        </div>
        <div class="result-wrap">

            <div class="result-title">
                <div class="result-list">
                    <!-- <a href="{:U('Member/addMember')}"><i class="icon-font"></i>新增会员</a> -->
                </div>
            </div>
            <div class="result-content">
                <table class="result-tab" width="100%">
                    <tr>
                        <th>ID</th>
                        <th>用户名</th>
						<th>推荐人</th>
                        <th>会员姓名</th>
                        <th>手机号</th>
                        <th>激活积分</th>
                        <th>交易积分</th>
                        <th>艺宝积分</th>
                        <th>艺尊指数</th>
						<th>等级</th>
                      
						<th>注册时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                    <volist name='list' id='vo'>
                        <tr>
                            <td>{$vo['member_id']}</td>
                            <td>{$vo['account']}</td>
							<td>{$vo['tuijian']['account']}</td>
                            <td>{$vo['name']}</td>
                            <td>{$vo['phone']}</td>
                            <td style="color:#F00; font-weight:bold;">{$vo['rmb']}</td>
                            <td style="color:#06F; font-weight:bold;">{$vo['integral']}</td>
                            <td style="color:#F00; font-weight:bold;">{$vo['yibao']}</td>
                            <td style="color:#F00; font-weight:bold;">{$vo['yizun']}</td>
                            <td>
                                 <span class="pending" style="color:#000000;font-weight:bold;font-size:10px;">
                                        {$vo['level']}<neq name="vo['upgrade_free']" value="0">(虚升)</neq>
                                    </span>
                            </td>
							<td>{$vo['add_time']|date='Y-m-d H:i:s',###}</td>
                            <td><if condition="$vo['status'] eq 1">
									正常
								</if>
								<if condition="$vo['status'] eq 2">
                                    <i style="color:#F00; font-weight:bold;">禁用</i>
									
								</if>
								<if condition="$vo['status'] eq 0">
									未填写个人信息(<a href="{:U('Member/saveModify',array('member_id'=>$vo['member_id']))}">填写</a>)
								</if>
								</td>
                            <td>
                                <a class="link-del" href="{:U('Finance/index',array('member_id'=>$vo['member_id']))}">查看财务日志</a>
                                <br>
                                <a class="link-update" href="{:U('Member/saveMember',array('member_id'=>$vo['member_id']))}">修改|</a>
                                <a class="link-del" href="{:U('Member/delMember',array('member_id'=>$vo['member_id']))}" onclick="return confirm('确认删除吗？')">删除</a>
                                <br><a class="link-update" href="{:U('Member/oneLogin',array('member_id'=>$vo['member_id']))}"target="_blank">一键登录</a>
                            </td>
                        </tr>
                    </volist>

                </table>
                <div class="list-page"> <ul>{$page}</ul></div>
            </div>

        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>
<script>
$(".sub-menu").eq(1).show();
$(".sub-menu").eq(1).children("li").eq(7).addClass("on");
</script>
<script>
function download(){
    var add_time=$('#aaaaa1').val();
    var end_time=$('#aaaaa2').val();
    var url="{:U('Member/derivedExcel')}";
    window.location.href=url+"?add_time="+add_time+"&&end_time="+end_time;
}
</script>